package com.dy.lock.screen.dao;

import java.util.List;

import com.dy.lock.screen.pojo.HomePageRecomListShopMaterialInfo;

/**
 * 首页推荐,榜单,店铺与文章关联dao
 * 
 * @author java
 * 
 */
public interface HomePageRecomListShopMaterialRelationDao extends
		BaseDao<HomePageRecomListShopMaterialInfo, String> {

	/**
	 * 根据推荐id或榜单id查询信息
	 * 
	 * @param id
	 * @return
	 */
	public List<HomePageRecomListShopMaterialInfo> queryListByRidOrLidOrSid(
			HomePageRecomListShopMaterialInfo ridOrLidOrSid);

	public HomePageRecomListShopMaterialInfo queryByParameters(
			HomePageRecomListShopMaterialInfo parameters);

	/**
	 * 查询文章编号
	 * 
	 * @param ridOrLid
	 * @return
	 */
	public List<String> queryMaterialIdByRid(String rid);

	public List<String> queryMaterialIdByLid(String lid);

	public List<String> queryMaterialIdBySid(String sid);

}
